// dllmain.cpp : Defines the entry point for the DLL application.
#include "Precompiled.h"
#include "XCrashReporter.h"
BOOL APIENTRY DllMain( HMODULE hModule,
	DWORD  ul_reason_for_call,
	LPVOID lpReserved
	)
{
	switch (ul_reason_for_call)
	{
	case DLL_PROCESS_ATTACH:
	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
	case DLL_PROCESS_DETACH:
		break;
	}
	return TRUE;
}


extern "C" XCRASHREPORTER_EXPORTS bool InitializeInProcess(const wchar_t* _pathStr, XCrashReporter::Callback _callBack = NULL)
{
	return XCrashReporter::InitializeInProcess(_pathStr, _callBack);
}
extern "C" XCRASHREPORTER_EXPORTS void SetSender(const wchar_t* _UrlStr)
{
	XCrashReporter::SetSender(_UrlStr);
}
extern "C" XCRASHREPORTER_EXPORTS void AddSenderParm(const wchar_t* _key, const wchar_t* _value)
{
	XCrashReporter::AddSenderParm(_key, _value);
}
